diff options
Diffstat (limited to 'src/app/(main)/boards/[boardId]')
| -rw-r--r-- | src/app/(main)/boards/[boardId]/Board.tsx | 10 | ||||
| -rw-r--r-- | src/app/(main)/boards/[boardId]/page.tsx | 12 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/app/(main)/boards/[boardId]/Board.tsx b/src/app/(main)/boards/[boardId]/Board.tsx new file mode 100644 index 0000000..93f24cc --- /dev/null +++ b/src/app/(main)/boards/[boardId]/Board.tsx @@ -0,0 +1,10 @@ +import { Column, Heading } from '@umami/react-zen'; + +export function Board({ boardId }: { boardId: string }) { + return ( + <Column> + <Heading>Board title</Heading> + <div>{boardId}</div> + </Column> + ); +} diff --git a/src/app/(main)/boards/[boardId]/page.tsx b/src/app/(main)/boards/[boardId]/page.tsx new file mode 100644 index 0000000..2cb076a --- /dev/null +++ b/src/app/(main)/boards/[boardId]/page.tsx @@ -0,0 +1,12 @@ +import type { Metadata } from 'next'; +import { Board } from './Board'; + +export default async function ({ params }: { params: Promise<{ boardId: string }> }) { + const { boardId } = await params; + + return <Board boardId={boardId} />; +} + +export const metadata: Metadata = { + title: 'Board', +}; |